import { defineStore } from "pinia";
import { ref } from 'vue';

export let useCartStore = defineStore("cart",
()=>{
    let cartNum = ref(0);
    let cartArr = ref([]);
    return { cartNum,cartArr }
},
{
    persist:true
}
);